/**
 * Copyright 2012 Ricardo Engel
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.mookt.dcubed;

/**
 * Service encapsulate an operation which doesn't fit into either entities or
 * value object.
 * 
 * <p>
 * Typically they are stateless and complex operations involving many entities
 * and value objects. They should be used judiciously and not allowed to strip
 * the entities and value objects of their behaviour, gradually slipping towards
 * a procedural programming paradigm.
 * </p>
 * 
 * <p>
 * As a corollary for the reasons above, a service has the following
 * characteristics:
 * <ul>
 * <li>The operation encapsulated in the service has no natural place in any
 * entities or value objects in the model.</li>
 * <li>The interface is defined in term of other elements in the model.</li>
 * <li>The operation is stateless.</li>
 * </ul>
 * </p>
 * 
 * @author Ricardo Engel
 */
public interface Service {

}